import { myPost } from '@/util/request'
import { API_SERVER } from '../service'

const ADMIN_SERVER = `${API_SERVER}/v2`

export const aimodelPage = (data) => {
  return myPost(`${ADMIN_SERVER}/aimodel/page`, data )
}

export const aimodelAdd = (data) => {
  return myPost(`${ADMIN_SERVER}/aimodel/add`, data )
}

export const aimodelEdit = (data) => {
  return myPost(`${ADMIN_SERVER}/aimodel/edit`, data )
}

export const aimodelDetail = (data) => {
  return myPost(`${ADMIN_SERVER}/aimodel/detail`, data )
}

export const aimodelDelete = (data) => {
  return myPost(`${ADMIN_SERVER}/aimodel/delete`, data )
}